/**
 * @file DrawMode.h
 *
 * @date 15/12/2011
 * @author Tales 
 *
 */

#ifndef _VIEW_DRAWMODE_HPP_
#define _VIEW_DRAWMODE_HPP_

#include "Mode.hpp"

namespace yep
{

/**
 * @brief Modo básico de desenho
 */
class DrawMode: public Mode
{
public:
	/**
	 * Destrutor
	 */
	virtual ~DrawMode();

	virtual void handle(Editor &editor, const SDL_Event &event);

	virtual void logic(Editor &editor);

	virtual void draw(Editor &editor, SDL_Surface *surface);

	static DrawMode &getInstance();
private:
	/**
	 * Construtor
	 */
	DrawMode();
};

} /* namespace yep */
#endif /* _VIEW_DRAWMODE_HPP_ */
